'Declaration Public Overloads Function ResetSelection( _ ByVal ranges() As SpreadsheetCellRange, _ ByVal activeCell As SpreadsheetCell, _ ByVal newActiveRangeIndex As Integer, _ Optional ByVal extendRangeForMergedCells As Boolean _ ) As Boolean
public bool ResetSelection( SpreadsheetCellRange[] ranges, SpreadsheetCell activeCell, int newActiveRangeIndex, bool extendRangeForMergedCells )
Exception | Description |
---|---|
System.ArgumentNullException | The ranges cannot be null. |
System.ArgumentException | The ranges cannot be a 0 length array. |
System.ArgumentOutOfRangeException | The newActiveRangeIndex must be an index within the specified ranges. |
System.ArgumentException | The activeCell must be within the range index specified by the newActiveRangeIndex. |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2